Common Interface Trap
There are several different
Thinking about adding [Common Interfaces
Different plurals have different areas of expertise.
https://gyazo.com/ab259ca763419224b870fdc26f48f9c4
If A has a function that B does not
Route 1: Unsupported routes
Implementation is easy
It's the unfortunate thing I wrote above.
Route 2: Route to error
For example, a design that has an interface but causes an error when executed
In the end, the user must understand "what is available on which backend".
Line 3: The line that you do your best to implement
For model m, method m.predict_proba returns the result of probability estimation
This method is also grown for SVMs that do not have the capability of probability estimation
Very labor intensive.
Not always possible to implement.
In that case, it is attributed to route 2.
---
This page is auto-translated from /nishio/共通インターフェイスの罠 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.